package com.rec.smile.conf;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

@Configuration
@EnableScheduling
public class SchedulingConfig {

	@Scheduled(cron="0/2 * * * * ?")
	public void schedule(){
		System.out.println(">>>>>>>>>>> schedule() at"+ (System.currentTimeMillis())/1000);
	}
}
